c# delete file if exists

92

c# delete file if exists -

if(File.Exists(@"C:\test.txt"))
{
    File.Delete(@"C:\test.txt");
}

Comments

Submit
0 Comments